# LDFLAG=-DSELF=1
.PHONT:all
all:tcpserver tcpclient
tcpserver:TcpServerMain.cc
	g++ -o $@ $^ $(LDFLAG) -std=c++14	-lpthread -ljsoncpp
tcpclient:TcpClientMain.cc
	g++ -o $@ $^ $(LDFLAG) -std=c++14 -ljsoncpp
.PHONY:clean
clean:
	rm -rf tcpserver tcpclient 